package com.sanyue.javaBase;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author sanyue
 * @version 1.0
 * @description: TODO
 * @date 2022/2/8 下午2:46
 */
public class StringLearns {
    public static void main(String[] args) {
        String s = "abc";
        s.intern();
        StringBuilder sb = new StringBuilder("abc");
        StringBuffer buffer = new StringBuffer("acd");
        System.out.println(s.equals(sb));
        ArrayList<Integer> arrayList = new ArrayList<>();
        HashMap<String, String> hashMap = new HashMap<>();

    }
}
